package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上课出勤对象 sc_cla_time_attend
 * 
 * @author ZHANGQIBO
 * @date 2024-01-21
 */
public class ClaTimeAttend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long attendId;

    /** sc_student_course 主键 */
    private Long studentCourseId;


    /** sc_cla_time.course_time_id */
    private Long courseTimeId;

    /** 学生 */
    private Long studentId;

    /** 班级 冗余自动 */
    private Long claId;

    /** 课程 冗余自动 */
    private Long courseId;

    /** 上课教师 */
    private Long teacherId;

    /** 教师 */
    @Excel(name = "教师")
    private String teacherName;

    /** 出席状态 1:到课 2:请假 3:缺勤 */
    @Excel(name = "出席状态 1:到课 2:请假 3:缺勤")
    private String attendStatus;

    /** 扣减课时数量 */
    @Excel(name = "扣减课时数量")
    private BigDecimal payHour;

    /** 创建者 */
    private String createUser;

    /** 点名状态 */
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    private List<ClaTimeAttendItem> claTimeAttendItemList;

    public List<ClaTimeAttendItem> getClaTimeAttendItemList() {
        return claTimeAttendItemList;
    }

    public void setClaTimeAttendItemList(List<ClaTimeAttendItem> claTimeAttendItemList) {
        this.claTimeAttendItemList = claTimeAttendItemList;
    }

    public void setAttendId(Long attendId)
    {
        this.attendId = attendId;
    }

    public Long getAttendId() 
    {
        return attendId;
    }
    public void setStudentCourseId(Long studentCourseId) 
    {
        this.studentCourseId = studentCourseId;
    }

    public Long getStudentCourseId() 
    {
        return studentCourseId;
    }

    public void setCourseTimeId(Long courseTimeId) 
    {
        this.courseTimeId = courseTimeId;
    }

    public Long getCourseTimeId() 
    {
        return courseTimeId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setClaId(Long claId) 
    {
        this.claId = claId;
    }

    public Long getClaId() 
    {
        return claId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setAttendStatus(String attendStatus) 
    {
        this.attendStatus = attendStatus;
    }

    public String getAttendStatus() 
    {
        return attendStatus;
    }
    public void setPayHour(BigDecimal payHour) 
    {
        this.payHour = payHour;
    }

    public BigDecimal getPayHour() 
    {
        return payHour;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attendId", getAttendId())
            .append("studentCourseId", getStudentCourseId())
            .append("courseTimeId", getCourseTimeId())
            .append("studentId", getStudentId())
            .append("claId", getClaId())
            .append("courseId", getCourseId())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("attendStatus", getAttendStatus())
            .append("payHour", getPayHour())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }
}
